Skip to content

Remove deprecated escapeidentifier and unescapeidentifier functions #25333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2018

Conversation

weswigham
Copy link
Member

@weswigham weswigham commented Jun 30, 2018

Since they're noops. escapeLeadingUnderscores and unescapeLeadingUnderscores have been the typesafe non-noop variants for a few releases now.

@weswigham weswigham requested a review from mhegazy June 30, 2018 01:18
@mhegazy
Copy link
Contributor

mhegazy commented Jul 2, 2018

@mhegazy mhegazy added Breaking Change Would introduce errors in existing code API Relates to the public API for TypeScript labels Jul 2, 2018
@mhegazy mhegazy added this to the TypeScript 3.0 milestone Jul 2, 2018
@weswigham weswigham merged commit 656f356 into microsoft:master Jul 2, 2018
@weswigham weswigham deleted the remove-deprecated-functions branch July 2, 2018 17:47
@mhegazy
Copy link
Contributor

mhegazy commented Jul 3, 2018

@weswigham looks like this is more break-y than we originally thought.. see https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/399575834?utm_source=github_status&utm_medium=notification.

Can you revert the change?

@weswigham
Copy link
Member Author

@mhegazy How about I add them back but mark them @internal so they no longer appear in our API?

@mhegazy
Copy link
Contributor

mhegazy commented Jul 3, 2018

I think we are better off filing bugs against current users, then removing them once they have moved away from them.

@weswigham
Copy link
Member Author

This is the fix for the current user: ajafff/tsutils#66 - every single error in that build originates in tsutils.

cbjuan added a commit to Qiskit/qiskit-code-assistant-vscode that referenced this pull request Aug 2, 2018
In general it seems to work as expected. The only issue found is that some functions have been removed from TS (microsoft/TypeScript#25333)

Still, the tests pass and the extension runs as usual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the public API for TypeScript Breaking Change Would introduce errors in existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants